<!-- Row -->
<div class="row">
  {% for post in paginator.posts %}
  <div class="col col_12_of_12">
    <!-- Layout post -->
    <div class="layout_post_1">
      <div class="item_content">
          <div class="head_title"><h2><a href="{{ post.url }}">{{ post.title }}</a></h2></div>
      </div>
      {% if post.image %}
      <div class="item_thumb">
        <div class="thumb_icon">
          <a href="{{ post.url }}" jQuery><i class="fa fa-link"></i></a>
        </div>
        <div class="thumb_hover">
          <a href="{{ post.url }}"><img src="{{ post.image }}" alt="{{ post.title }}"></a>
        </div>
        <!-- <div class="thumb_meta">
          <span class="category" jQuery><a href="/blog/">{{ post.category }}</a></span>
          <span class="comments"><a href="{{ post.url }}">{{ post.date | date: "%b %-d, %Y" }}</a></span>
        </div> -->
      </div>
      <!-- Full meta -->
      <div class="full_meta clearfix">
        <span class="meta_format"><i class="fa fa-file-text"></i></span>
        <span class="meta_date">{{ post.date | date: "%b %-d, %Y" }}</span>
        <span class="meta_author">{{ site.author }}</span>
        {% if post.tags %}
        <span class="meta_tags"> {% for tag in post.tags %}<u>{{ tag }}</u> {% endfor %}
        {% endif %}
      </div><!-- End Full meta -->
      {% elsif post.video %}
      <div class="item_thumb">
        {{ post.video }}
      </div>
      <!-- Full meta -->
      <div class="full_meta clearfix">
        <span class="meta_format"><i class="fa fa-file-text"></i></span>
        <span class="meta_date">{{ post.date | date: "%b %-d, %Y" }}</span>
        <span class="meta_author">{{ site.author }}</span>
        {% if post.tags %}
        <span class="meta_tags"> {% for tag in post.tags %}<u>{{ tag }}</u> {% endfor %}
        {% endif %}
      </div><!-- End Full meta -->
      {% else %}
      <!-- Full meta -->
      <div class="full_meta clearfix">
        <span class="meta_format"><i class="fa fa-file-text"></i></span>
        <span class="meta_date">{{ post.date | date: "%b %-d, %Y" }}</span>
        <span class="meta_author">{{ site.author }}</span>
        {% if post.tags %}
        <span class="meta_tags"> {% for tag in post.tags %}<u>{{ tag }}</u> {% endfor %}
        {% endif %}
      </div><!-- End Full meta -->
      {% endif %}
      <div class="item_content">
        <p><p>{{ post.description | remove: '<p>' | remove: '</p>' }}</p></p>
        <p>{% include duoshuoshare.html %}
        <a class="alignright" href="{{ post.url }}"> Continue Reading <i class="fa fa-angle-double-right"></i></a><br><br></p>
      </div>
    </div><!-- End Layout post -->
  </div>
  {% endfor %}
</div>
<!-- Pagination -->
<ul class="page-numbers">
  {% if paginator.total_pages > 1 %}
    {% if paginator.previous_page == 1 %}
      <li><span class="page-numbers current"><a href="/"><i class="fa fa-chevron-left"></i></a></span></li>
    {% elsif paginator.previous_page %}
      <li><span class="page-numbers current"><a href="/blog/page{{ paginator.previous_page }}"><i class="fa fa-chevron-left"></i></a></span></li>
    {% else %}
      <li><span class="page-numbers current"><i class="fa fa-chevron-left"></i></span></li>
    {% endif %}

    {% for page in (1..paginator.total_pages) %}
      {% if page == paginator.page %}
      <li><span class="page-numbers current">{{ page }}</span></li>
      {% elsif page == 1 %}
      <li><span class="page-numbers current"><a href="/">{{ page }}</a></span></li>
      {% else %}
      <li><a class="page-numbers" href="/blog/page{{ page }}">{{ page }}</a></li>
      {% endif %}
    {% endfor %}

    {% if paginator.next_page %}
      <li><span class="page-numbers current"><a href="/blog/page{{ paginator.next_page }}"><i class="fa fa-chevron-right"></i></a></span></li>
      {% else %}
      <li><span class="page-numbers current"><i class="fa fa-chevron-right"></i></span></li>
    {% endif %}
  {% endif %}
</ul><!-- End Pagination -->
<!-- End Row -->
